package com.xbjtech.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xbjtech.mapper.RegionMapper;
import com.xbjtech.model.Region;
import com.xbjtech.service.RegionService;

@Service
public class RegionServiceImpl implements RegionService {
	
	@Autowired
	RegionMapper regionMapper;

	@Override
	public List<Region> findByParId(Long parid) {
		return regionMapper.getRegionsByParId(parid);
	}

}
